package online.afeibaili.storebackendframework.model;

public class Product {
    private long createTime;// 创建时间 主键
    private String name;// 商品名称
    private double price;// 价格
    private String images;// 图片
    private String description;// 描述
    private String detail;// 详情
    private String category;// 分类
    private String status;// 状态
    private String remark;// 备注
    private int sales;// 销量
    private String video;

    public Product() {
    }

    public Product(long createTime, String name, double price, String images, String description, String detail, String category, String status, String remark, int sales, String video) {
        this.createTime = createTime;
        this.name = name;
        this.price = price;
        this.images = images;
        this.description = description;
        this.detail = detail;
        this.category = category;
        this.status = status;
        this.remark = remark;
        this.sales = sales;
        this.video = video;
    }

    /**
     * 获取
     * @return createTime
     */
    public long getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return price
     */
    public double getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(double price) {
        this.price = price;
    }

    /**
     * 获取
     * @return images
     */
    public String getImages() {
        return images;
    }

    /**
     * 设置
     * @param images
     */
    public void setImages(String images) {
        this.images = images;
    }

    /**
     * 获取
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 获取
     * @return detail
     */
    public String getDetail() {
        return detail;
    }

    /**
     * 设置
     * @param detail
     */
    public void setDetail(String detail) {
        this.detail = detail;
    }

    /**
     * 获取
     * @return category
     */
    public String getCategory() {
        return category;
    }

    /**
     * 设置
     * @param category
     */
    public void setCategory(String category) {
        this.category = category;
    }

    /**
     * 获取
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(String status) {
        this.status = status;
    }

    /**
     * 获取
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取
     * @return sales
     */
    public int getSales() {
        return sales;
    }

    /**
     * 设置
     * @param sales
     */
    public void setSales(int sales) {
        this.sales = sales;
    }

    /**
     * 获取
     * @return video
     */
    public String getVideo() {
        return video;
    }

    /**
     * 设置
     * @param video
     */
    public void setVideo(String video) {
        this.video = video;
    }

    public String toString() {
        return "Product{createTime = " + createTime + ", name = " + name + ", price = " + price + ", images = " + images + ", description = " + description + ", detail = " + detail + ", category = " + category + ", status = " + status + ", remark = " + remark + ", sales = " + sales + ", video = " + video + "}";
    }
}
